package com.d5xx.hunters;

import org.bukkit.Bukkit;
import org.bukkit.World;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.plugin.Plugin;

import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Logger;

public class Variables {
    public static Plugin plugin = Hunters.getPlugin(Hunters.class);
    public static Logger logger = plugin.getLogger();
    public static File dataFolder = plugin.getDataFolder();
    public static File serverFolder = Bukkit.getWorldContainer();
    public static File langFolder = new File(dataFolder, "language");
    public static YamlConfiguration config;
    public static List<World> worldList = new ArrayList<>();
    public static List<String> worldNameList = new ArrayList<>();
    public static List<World> netherList = new ArrayList<>();
    public static List<String> netherNameList = new ArrayList<>();
    public static List<World> theEndList = new ArrayList<>();
    public static List<String> theEndNameList = new ArrayList<>();
    public static List<World> toDeleteWorldLsit = new ArrayList<>();
}
